<!doctype HTML public "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- Click to Convert 5.2: Anything to HTML -->
<!-- http://www.clicktoconvert.com -->

<html>
<head>
<title>gravityboxscheduleuserguide - page 233 of 234</title>
<meta http-equiv=content-type content=text/html;charset=iso-8859-1>
<meta name="Generator" content="Click to Convert">

<!--Start of page styles-->
<STYLE TYPE="text/css">
<!--
 /* Foreground Image Styles */

 /* Position Styles */
 .ts233p0{position:absolute;left:106px;top:97px;}
 .ts233p1{position:absolute;left:352px;top:97px;}
 .ts233p3{position:absolute;left:665px;top:97px;}
 .ts233p7{position:absolute;left:106px;top:113px;}
 .ts233p8{position:absolute;left:706px;top:1026px;}
 .ts233p9{position:absolute;left:331px;top:1044px;}
 .ts233p13{position:absolute;left:107px;top:146px;}
 .ts233p15{position:absolute;left:353px;top:146px;}
 .ts233p18{position:absolute;left:353px;top:164px;}
 .ts233p19{position:absolute;left:353px;top:182px;}
 .ts233p20{position:absolute;left:353px;top:201px;}
 .ts233p21{position:absolute;left:353px;top:219px;}
 .ts233p22{position:absolute;left:353px;top:237px;}
 .ts233p24{position:absolute;left:353px;top:256px;}
 .ts233p25{position:absolute;left:107px;top:275px;}
 .ts233p27{position:absolute;left:353px;top:275px;}
 .ts233p28{position:absolute;left:353px;top:293px;}
 .ts233p30{position:absolute;left:353px;top:311px;}
 .ts233p31{position:absolute;left:353px;top:329px;}
 .ts233p32{position:absolute;left:353px;top:347px;}
 .ts233p33{position:absolute;left:353px;top:366px;}
 .ts233p34{position:absolute;left:353px;top:384px;}
 .ts233p35{position:absolute;left:353px;top:402px;}
 .ts233p37{position:absolute;left:353px;top:420px;}
 .ts233p38{position:absolute;left:353px;top:438px;}
 .ts233p40{position:absolute;left:353px;top:456px;}
 .ts233p41{position:absolute;left:353px;top:475px;}
 .ts233p42{position:absolute;left:353px;top:493px;}
 .ts233p43{position:absolute;left:353px;top:512px;}
 .ts233p44{position:absolute;left:353px;top:530px;}
 .ts233p46{position:absolute;left:353px;top:548px;}
 .ts233p47{position:absolute;left:107px;top:568px;}
 .ts233p50{position:absolute;left:353px;top:568px;}
 .ts233p52{position:absolute;left:353px;top:586px;}
 .ts233p53{position:absolute;left:353px;top:604px;}
 .ts233p54{position:absolute;left:353px;top:622px;}
 .ts233p55{position:absolute;left:353px;top:641px;}
 .ts233p56{position:absolute;left:353px;top:659px;}
 .ts233p57{position:absolute;left:353px;top:677px;}
 .ts233p59{position:absolute;left:353px;top:696px;}
 .ts233p60{position:absolute;left:353px;top:714px;}
 .ts233p61{position:absolute;left:353px;top:733px;}
 .ts233p62{position:absolute;left:353px;top:751px;}
 .ts233p63{position:absolute;left:353px;top:769px;}
 .ts233p65{position:absolute;left:353px;top:788px;}
 .ts233p66{position:absolute;left:353px;top:806px;}
 .ts233p67{position:absolute;left:353px;top:825px;}
 .ts233p70{position:absolute;left:353px;top:843px;}
 .ts233p71{position:absolute;left:353px;top:861px;}
 .ts233p73{position:absolute;left:353px;top:880px;}
 .ts233p74{position:absolute;left:353px;top:898px;}
 .ts233p76{position:absolute;left:353px;top:917px;}

 /* Font Styles */
 .ft0p233{font-style:normal;font-weight:bold;font-size:13px;font-family:arial,sans-serif;color:#000000;}
 .ft1p233{font-weight:normal;}
 .ft2p233{font-style:normal;font-weight:normal;font-size:13px;font-family:"times new roman","times new roman",times,serif;color:#000000;}
 .ft3p233{font-style:normal;font-weight:normal;font-size:16px;font-family:"times new roman","times new roman",times,serif;color:#000000;}
 .ft4p233{font-style:normal;font-weight:bold;font-size:11px;font-family:arial,sans-serif;color:#000000;}
 .ft5p233{font-style:normal;font-weight:normal;font-size:16px;font-family:arial,sans-serif;color:#000000;}
 .ft6p233{font-style:normal;font-weight:normal;font-size:16px;font-family:"courier new",courier,monospace;color:#000000;}

 /* Background Style */
 .styleBackground233{position:absolute;left:98px;top:273px}

 /* Navigation Styles */
 .styleNavBarTop{position:absolute;left:0px;top:2px}
 .nb{position:absolute;left:2px;top:0px}
 .nbs{position:absolute;left:0px;top:0px}
 .nbe{position:absolute;left:836px;top:0px}
 .styleNavBarBot{position:absolute;left:0px;top:1117px}
-->
</STYLE>
<!--End of page styles-->

</head>
<body bgcolor="#ffffff" text="#000000" link="#0000FF" Vlink="#660099">

<table id="pageTable" width="836" STYLE="position: relative; left: auto; top: auto;"><tr><td>
<div class=nbs><img src="./navbarstart.gif" width="2" height="30"></div>
<div class=nb><img src="./navbar.gif" width="836" height="30" alt="Navigation bar"></div>
<div class=nbe><img src="./navbarend.gif" width="2" height="30"></div>
<div class=styleNavBarTop>
<table width="834" height="26" border="0" cellspacing="0">
  <tr align="left">
    <td width="4">&nbsp;</td>
    <td width="25" align="center"><a href="http://www.gravitybox.com" target="_parent"><img src="./home.gif" border="0" alt="Home"></a></td>
    <td width="25" align="center"><a href="#" onClick="window.open('./print.html','Printing','width=300,height=100,toolbar=no,directories=no');return false;"><img src="./print.gif" border="0" alt="Print document"></a></td>
    <td width="10" align="center"><img src="./separator.gif" border="0"></td>
    <td width="18" align="center"><a href="./index1.html"><img src="./start.gif" width="18" height="14" border="0" alt="Start"></a></td>
    <td width="18" align="center"><a href="./index232.html"><img src="./back.gif" width="14" height="14" border="0" alt="Previous page"></a></td>
    <td width="80" valign="middle"><table width="100%" height="16" border="0" cellspacing="1" bgcolor="#ACA899"><tr><td align="center" bgcolor="#ffffff"><font face=verdana,arial,sans-serif><font size="1">&nbsp;233 of 234&nbsp;</font></font></td></tr></table></td>
    <td width="18" align="center"><a href="./index234.html"><img src="./forward.gif" width="14" height="14" border="0" alt="Next page"></a></td>
    <td width="18" align="center"><a href="./index234.html"><img src="./end.gif" width="18" height="14" border="0" alt="End"></a></td>
    <td width="620">&nbsp;</td>
  </tr>
</table>
<p>
</div>
<nobr>
<div class=styleBackground233><img src="./background233.png" width="637" height="782" border="0" alt=""></div>
<div class=ts233p0><span class="ft0p233"> </span></div>
<div class=ts233p1><span class="ft0p233">Gravitybox Schedule Primer<span class="ft1p233"> </span></span></div>
<div class=ts233p3><span class="ft0p233">Page 231&nbsp; </span></div>
<div class=ts233p7><span class="ft2p233"> </span></div>
<div class=ts233p8><span class="ft3p233"> </span></div>
<div class=ts233p9><span class="ft4p233">1998&#45;2004 Gravitybox Software LLC<span class="ft3p233"> </span></span></div>
<div class=ts233p13><span class="ft5p233">ValidateAdd </span></div>
<div class=ts233p15><span class="ft6p233">Event ValidateAdd(Index As Long) </span></div>
<div class=ts233p18><span class="ft6p233"> </span></div>
<div class=ts233p19><span class="ft5p233">This event is raised after the BeforeAdd event but </span></div>
<div class=ts233p20><span class="ft5p233">before the AfterAdd event. It may be used to set </span></div>
<div class=ts233p21><span class="ft5p233">information for appointments before the properties </span></div>
<div class=ts233p22><span class="ft5p233">dialog is displayed. </span></div>
<div class=ts233p24><span class="ft6p233"> </span></div>
<div class=ts233p25><span class="ft5p233">ValidateAppointment </span></div>
<div class=ts233p27><span class="ft6p233">Event ValidateAppointment(StartDate As </span></div>
<div class=ts233p28><span class="ft6p233">Date, Room As Long, StartTime As Date, </span></div>
<div class=ts233p30><span class="ft6p233">ApptLength As Long, DisplayText As </span></div>
<div class=ts233p31><span class="ft6p233">String, Subject As String, Priority As </span></div>
<div class=ts233p32><span class="ft6p233">Long, Alarm As Boolean, Category As </span></div>
<div class=ts233p33><span class="ft6p233">String, Provider As String, GroupId As </span></div>
<div class=ts233p34><span class="ft6p233">String, UniqueKey As Long, Cancel As </span></div>
<div class=ts233p35><span class="ft6p233">Boolean) </span></div>
<div class=ts233p37><span class="ft6p233"> </span></div>
<div class=ts233p38><span class="ft5p233">This event is raised from the ScheduleProperties </span></div>
<div class=ts233p40><span class="ft5p233">control just before a save is performed. It allows you </span></div>
<div class=ts233p41><span class="ft5p233">to verify and change information about the </span></div>
<div class=ts233p42><span class="ft5p233">appointment before this information is saved to the </span></div>
<div class=ts233p43><span class="ft5p233">main schedule. You may cancel the save by setting </span></div>
<div class=ts233p44><span class="ft5p233">the Cancel parameter to true. </span></div>
<div class=ts233p46><span class="ft6p233"> </span></div>
<div class=ts233p47><span class="ft5p233">ValidateDelete </span></div>
<div class=ts233p50><span class="ft6p233">Event ValidateDelete(Index As Long) </span></div>
<div class=ts233p52><span class="ft6p233"> </span></div>
<div class=ts233p53><span class="ft5p233">This event is raised after the BeforeDelete event but </span></div>
<div class=ts233p54><span class="ft5p233">before the AfterDelete event. It may be used to </span></div>
<div class=ts233p55><span class="ft5p233">remove appointments from a database if necessary. </span></div>
<div class=ts233p56><span class="ft5p233">The BeforeDelete event is raised to allow you to </span></div>
<div class=ts233p57><span class="ft5p233">change the prompting text if necessary. You do not </span></div>
<div class=ts233p59><span class="ft5p233">want to remove appointment from your database </span></div>
<div class=ts233p60><span class="ft5p233">here, since the user may choose NOT to remove the </span></div>
<div class=ts233p61><span class="ft5p233">appointment when prompted. After the user is </span></div>
<div class=ts233p62><span class="ft5p233">prompt and he chooses to remove the selected </span></div>
<div class=ts233p63><span class="ft5p233">appointment the ValidateDelete event is raised with </span></div>
<div class=ts233p65><span class="ft5p233">the Index of the appointment in the ScheduleItems </span></div>
<div class=ts233p66><span class="ft5p233">collection. You may not cancel the delete at this </span></div>
<div class=ts233p67><span class="ft5p233">point. This event is raised so that clean&#45;up code can </span></div>
<div class=ts233p70><span class="ft5p233">be added. The item to be removed is still in the </span></div>
<div class=ts233p71><span class="ft5p233">ScheduleItems collection at this point. When the </span></div>
<div class=ts233p73><span class="ft5p233">AfterDelete event is raised the item is no longer in </span></div>
<div class=ts233p74><span class="ft5p233">the collection. </span></div>
<div class=ts233p76><span class="ft6p233"> </span></div>
<div class=styleNavBarBot>
<table width="836" border="0" cellspacing="2">
  <tr></tr>
  <tr>
    <td width="118"><a href="http://www.purepage.com"><img src="./smalllogo.gif" width="118" height="46" border="0" alt="http://www.purepage.com"></a></td>
    <td></td>
  </tr>
</table>
</div>

</td></tr></table>

</body>
</html>
